package com.crb.smartcarddemo;

import android.app.Application;

import com.crb.smartcarddemo.utils.MmkvUtil;
import com.tencent.mmkv.MMKV;

/**
 * @ClassName: AppApplication
 * @Description: java类作用描述
 * @Author: shinlooker
 * @Date: 2023/9/27 16:12
 */
public class AppApplication extends Application {
    private static AppApplication mApplication;
    @Override
    public void onCreate() {
        super.onCreate();
        mApplication = this;
        intiSDK(mApplication);
    }

    private void intiSDK(Application application) {
        // MMKV 初始化
        MMKV.initialize(application);
        MmkvUtil.getInstance();
    }
}
